package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class LiveListResponse {
    @ApiModelProperty(value = "直播间列表", dataType = "LiveListResponse.Live")
    private PageResponse2<Live> livePage;
    @ApiModelProperty("开播状态: -1无企业（跳转店铺注册页） 0无权限（跳转我的直播无权限页） 1创建直播 2开播")
    private Integer status;

    @ApiModel("LiveListResponse.Live")
    @Data
    @Builder
    public static class Live {
        @ApiModelProperty("直播ID")
        private Integer roomId;
        @ApiModelProperty("直播图片")
        private String photo;
        @ApiModelProperty("状态图片:直播中 预告 回放")
        private String status;
        @ApiModelProperty("观看人数")
        private String viewNum;
        @ApiModelProperty("直播用户头像")
        private String userImg;
        @ApiModelProperty("直播用户名称")
        private String userName;
    }
}
